/* 
 * File:   BoundingBox.h
 * Author: brady
 *
 * Created on March 10, 2011, 3:23 PM
 */
#include "BoundingVolumeNode.h"
#include "TransformMatrix.h"


#ifndef BOUNDINGBOX_H
#define	BOUNDINGBOX_H

class BoundingBox {
public:
    BoundingBox();
    BoundingBox(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
    virtual ~BoundingBox();
    void Absorb(BoundingBox* bb);
    void Transform(TransformMatrix t);
    double GetXMin(){return xMin;}
    double GetXMax(){return xMax;}
    double GetYMin(){return yMin;}
    double GetYMax(){return yMax;}
    double GetZMin(){return zMin;}
    double GetZMax(){return zMax;}
   
    
private:
     double xMin, xMax, yMin, yMax, zMin, zMax;
};

#endif	/* BOUNDINGBOX_H */

